package com.example.demoexcel.service;

import com.example.demoexcel.model.AreaStationData;
import com.example.demoexcel.model.NameAndValueInt;
import com.github.jeffreyning.mybatisplus.service.IMppService;

import java.nio.charset.Charset;
import java.util.List;

/**
 * @author 赵恒
 * @date 2023/7/11
 */
public interface IAreaStationDataService extends IMppService<AreaStationData> {
    void readCsvToDatabase(String path);

    void exportExcel(String excelDir);

    void exportCsv(String csvDir);

    List<NameAndValueInt> group();

    List<AreaStationData> queryByPage();

    void findErrorLine(String errorDir, String outputFilePath, Charset charset);


    void handleErrorLine(String txtFilePath, String csvFilePath);

    void convertEncode(String sourceFile, String endFilePath);

}
